package com.sihan.swvp.dao.jc;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;
import com.sihan.swvp.dao.BaseDao;
import com.sihan.swvp.entity.jc.JcBzjsbzzy;

public interface JcBzjsbzzyDao extends BaseDao{

	public Page<Map<String, Object>> getJcBzjsbzzy(Map<String, Object> params);
	
	public void addJcBzjsbzzy(@Param("jcBzjsId")int jcBzjsId,@Param("upuser")Long upuser,@Param("jcBzzyZygcIds")String[] jcBzzyZygcIds);
	
	public void updateJcBzjsbzzy(JcBzjsbzzy bean);
	
	public int deleteJcBzjsbzzy(@Param("jcBzjsId")Integer jcBzjsId);
	
	/**
	 * 查询作业过程管理的数据
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getBzzyZygcByIdList(Map<String, Object> params);
	
	/**
	 * 班组角色标准作业过程设置的数据
	 * @param params
	 * @return
	 */
	public List<Map<String, Object>> getJcBzjsbzzyByIdList(Map<String, Object> params);
	
	public int updateJcBzjsbzzySortBatch(Map<String, Object> params);
	
}
